package com.collect.cameroon.zhiScene.zhiScriptLib;

import android.content.Context;

import com.collect.cameroon.zhiBase.BaseContract;
import com.collect.cameroon.zhiBean.zhiReceive.ZHIRScriptLibListEntity;
import com.collect.cameroon.zhiBean.zhiSend.ZHISendEntity;

public class ZHIScriptLibContract {
    interface View extends BaseContract.View {
        /**
         * 错误信息返回
         * @type  method
         * @author liwenjie
         * @creatTime 2019-11-14 17:54
         */
        void onGetErrorInfo();
        /**
         * 获取话术详情返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onGetAppWords(ZHIRScriptLibListEntity zhirScriptLibListEntity);
    }

    interface Presenter extends BaseContract.Presenter<View> {
        /**
         * 获取话术详情
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void getAppWords(Context context, ZHISendEntity zhiSendEntity);
    }
}
